/**
 * File: ReadsWriteBean.java
 * Created by: mhaimel
 * Created on: 22 Jul 2009
 * CVS:  $Id: ReadsWriteBean.java,v 1.2 2009/08/13 10:39:01 mhaimel Exp $
 */
package uk.ac.ebi.curtain.controller.loader.impl;

import java.io.File;
import java.io.Serializable;
import java.util.List;

import javolution.util.FastList;

/**
 * @author mhaimel
 *
 */
public class ReadsWriteBean implements Serializable {
	private File baseDir;
	private List<Long> readPositions = new FastList<Long>();
	public void setReadPositions(List<Long> readPositions) {
		this.readPositions = readPositions;
	}
	public List<Long> getReadPositions() {
		return readPositions;
	}
	public void setBaseDir(File baseDir) {
		this.baseDir = baseDir;
	}
	public File getBaseDir() {
		return baseDir;
	}
	public void addReadPosition(Long pos) {
		readPositions.add(pos);
	}

	
}
